package com.ph.irp.base.assistantmaterial.service;
import java.util.List;
import com.ph.irp.model.PBaseAssistantmaterialDeliveryaddress;
/**
 * 交货地点的service方法
 * @author Administrator
 *
 */
public interface PBaseAssistantmaterialDeliveryaddressService {
	public void addDeliveryaddress(PBaseAssistantmaterialDeliveryaddress deliveryAddress)throws Throwable;
	
	public void deleteDeliveryaddress(int deliveryAddressId)throws Throwable;
	
	public void updateDeliveryaddress(PBaseAssistantmaterialDeliveryaddress deliveryAddress)throws Throwable;
	
	public PBaseAssistantmaterialDeliveryaddress getDeliveryaddressById(int deliveryAddressId)throws Throwable;
	
	@SuppressWarnings("unchecked")
	public List getDeliveryaddressByName(String name)throws Throwable;
	
	@SuppressWarnings("unchecked")
	public List getDeliveryaddressByCode(String code)throws Throwable;
	
	@SuppressWarnings("unchecked")
	public List getDeliveryaddressByNameAndCode(String name,String code)throws Throwable;
	
	public List<PBaseAssistantmaterialDeliveryaddress> getDeliveryaddressList()throws Throwable;

}
